<script setup>
import { onLaunch, onLoad } from "@dcloudio/uni-app";
import { getTitleTop, getWXStatusHeight } from "./utils/util";

onLaunch(() => {
  getTitleTop()
  getWXStatusHeight()
});

onLoad(() => {
  getFont()
})

const getFont = () => {
  console.log(123)
  uni.loadFontFace({
    family: 'IPix',
    source: 'https://fuzhuang.xinguanghudong.com/IPix.ttf',
    success: result => {
      console.log(result, 'res')
    }
  })
}
</script>

<style lang="scss">
@import "uview-plus/index.scss";

page {
  background: #ffbf0f;
}

:deep(.u-picker__view) {
  //background: #ffbf0f;
  z-index:0;
}


.u-popup__content {
  border-radius: 20rpx 20rpx 0 0;
  //background: #ffbf0f !important;
}

:deep(.custom-background){
  background: #000;
}
</style>
